package com.gxar.fusion.authorization.model;

import com.gxar.common.entity.ResultCode;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/1/23 15:01
 */
public enum ResultCodeEnum implements ResultCode {
    /**
     * 10****
     */
    ROLE_MENU_EXCEPTION(100001, "角色菜单查询异常"),
    UN_PERMISSION(100002, "对不起，您暂无权限，请联系管理员"),
    NO_CONFIG_APP(100003, "未配置应用，请联系研发人员")
    ;

    private final Integer ret;
    private final String msg;

    ResultCodeEnum(Integer ret, String msg) {
        this.ret = ret;
        this.msg = msg;
    }

    @Override
    public Integer getRet() {
        return ret;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
